﻿namespace DeviceAlarmService.Models.ModbusTcp;

public class DataAddress
{
    /// <summary>
    /// 功能码
    /// </summary>
    public FunctionCode functionCode { get; set; }

    /// <summary>
    /// 设备号
    /// </summary>
    public byte slaveAddress { get; set; }

    /// <summary>
    /// 开始地址
    /// </summary>
    public ushort startAddress { get; set; }

    /// <summary>
    /// 长度
    /// </summary>
    public ushort numberOfPoints { get; set; }

    /// <summary>
    /// uid
    /// </summary>
    public List<string> uid { get; set; }

    /// <summary>
    /// ?启用
    /// </summary>
    public List<bool> isEnable { get; set; }

    /// <summary>
    /// 报警信息
    /// </summary>
    public List<string> alarmInformation { get; set; }
}